package mygang.dao.manager;

import java.util.List;
import mygang.model.ColumnModel;
import mygang.model.TableModel;
import mygang.model.constructor.TableWizardModel;

/**
 *
 * @author Volodymyr Lavrynovych <volodya.lavrynovych@gmail.com>
 * date: 23/02/2013
 */
public interface TableDAO extends ManagerInterface<TableWizardModel> {
    List<TableModel> getTableList();
    List<ColumnModel> getTableColumns(String tableName);
    String getTablePrimaryColumn(String tableName);
    TableModel getTableByName(String tableName);
    void delete(TableWizardModel table);
    String getColumnType(String table, String column);
}